package com.huaxin.hxmodulesystem.dto.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class UpdateFamilyReqDTO {
    /**
     * 家庭ID
     */
    @Schema(description = "家庭ID", example = "1")
    private String id;
    /**
     * 家庭名称
     */
    @Schema(description = "家庭名称", example = "温暖的小家")
    private String name;
    /**
     * 家庭地址
     */
    @Schema(description = "家庭地址", example = "中国-北京-东城区-东直门")
    private String address;

    /**
     * 区域
     */
    @TableField(value = "area")
    @Schema(description = "区域", example = "500010001")
    private String area;
    /**
     * 经度
     */
    @Schema(description = "经度", example = "116.397128")
    private String longitude;
    /**
     * 纬度
     */
    @Schema(description = "纬度", example = "39.908")
    private String latitude;
}
